Using the File Manager
This section provides specific techniques for using the new features of the
• You can pass FSSpec records that your application receives from the • You can exchange the contents of two files when updating a stored file,
• You can search a volume's catalog quickly, looking for files or
directories that meet the criteria you specify, using the PBCatSearch function.
• You can track files within a volume by file number, using the set of
functions that create and manipulate file ID references.
• You can mount a remote volume programmatically, without going
through the Chooser, using the remote mounting functions.
• You can read and change privilege information in foreign file systems
Some of the new File Manager features depend on the system software; others depend on the characteristics of the volume. Before using any of the new
feature's presence depends on the system software or the characteristics of the
volume.
You can use Gestalt to determine whether or not you can call the functions that accept and support FSSpec records. Call Gestalt with the gestaltFSAttr selector to check for File Manager features. The response parameter has two relevant bits.
gestaltFullExtFSDispatching All of the routines selected through the
_HFSDispatch trap macro are available to